package com.qf.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.blog.entity.Comment;
import com.qf.blog.dto.MyPage;
import com.qf.blog.vo.CommVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * User: key
 * ClassName:CommentMapper
 * Date: 2023/6/2
 * Time: 22:33
 * description:
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {
    MyPage<CommVo> commentPage(Integer id, MyPage<?> page);
    List<CommVo> getall1(Integer id);

    List<CommVo> getCommentVoList(Integer id,Integer type);
}
